#!/usr/bin/env sh

set -o xtrace

export TRUST_PARAMS=1
export TRIGGER_SCHED=true
#export FULLNODE_API_INFOS=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJyZWFkIiwid3JpdGUiLCJzaWduIiwiYWRtaW4iXX0.aTQmW61J4_fQlSGIzfbOYQSYoNgobHkA-i4IcasKNRo:/ip4/127.0.0.1/tcp/1234/http
export ENABLE_WIN_POST=false
export ENABLE_WINDOWS_POST=false
export WD_POST_SERVER_ADDRESS="127.0.0.1:8888"
export ENABLE_DISTRIBUTED_WDPOST=false


tag=${TAG:-debug}

#go run -tags=$tag ./cmd/lotus wallet import ~/.genesis-sectors/pre-seal-t01000.key
#go run -tags=$tag ./cmd/lotus-storage-miner run --enable-all-task=false --nosync
go run -tags=$tag ./cmd/lotus-storage-miner run --nosync --enable-all-task=true
